package org.NooLab.itexx.storage;

import java.util.Observable;

  
import org.NooLab.utilities.net.GUID;





public class DataStreamProvider 
									extends 
												Observable 
									implements 
												DataStreamProviderIntf {

	
	String dspGuid ="" ;
	DataBaseAccessDefinitionIntf dbAccessInfo;
	TexxDataBaseSettingsIntf databaseSettings;
	
	
	// ========================================================================
	public DataStreamProvider( int dspSourceDb, 
							   TexxDataBaseSettingsIntf databaseSettings,
							   DataBaseAccessDefinitionIntf accessInfo ){
		
		dspGuid = GUID.randomvalue();
		this.databaseSettings = databaseSettings;
		dbAccessInfo = accessInfo;
	}
	
	/*
	public DataStreamProvider(int dspSourceTcp, TexxCommTcpSettingsIntf tcpSettings) {
		dspGuid = GUID.randomvalue();
	}
	 */
	
	// ========================================================================
	
	public String getGuid() {
		 
		return dspGuid;
	}

	
	
	
	
}
